<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学生高质量缴费平台</title>
    <style>
        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            background-color: #f5f5f5;
            margin: 0;
            padding: 0;
            color: #333;
        }
        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }
        header {
            background-color: #1e88e5;
            color: white;
            padding: 20px 0;
            text-align: center;
            border-radius: 5px 5px 0 0;
            margin-bottom: 30px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .payment-box {
            background-color: white;
            border-radius: 5px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        h1, h2 {
            margin: 0;
        }
        .fee-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid #eee;
        }
        .fee-item:last-child {
            border-bottom: none;
        }
        .fee-name {
            font-weight: bold;
        }
        .fee-amount {
            color: #e53935;
            font-weight: bold;
        }
        .total-section {
            background-color: #f9f9f9;
            padding: 20px;
            border-radius: 5px;
            margin-top: 20px;
            text-align: right;
        }
        .total-amount {
            font-size: 24px;
            color: #e53935;
            font-weight: bold;
        }
        .payment-methods {
            margin-top: 30px;
        }
        .method-option {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding: 15px;
            background-color: #f9f9f9;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
        }
        .method-option:hover {
            background-color: #e3f2fd;
        }
        .method-option input[type="radio"] {
            margin-right: 15px;
        }
        .method-icon {
            margin-right: 15px;
            font-size: 24px;
        }
        .pay-button {
            display: block;
            width: 100%;
            padding: 15px;
            background-color: #4caf50;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 18px;
            cursor: pointer;
            margin-top: 30px;
            transition: background-color 0.3s;
        }
        .pay-button:hover {
            background-color: #388e3c;
        }
        .student-info {
            margin-bottom: 30px;
        }
        .info-row {
            display: flex;
            margin-bottom: 10px;
        }
        .info-label {
            width: 100px;
            font-weight: bold;
        }
        .info-value {
            flex-grow: 1;
        }
        .status {
            display: inline-block;
            padding: 3px 8px;
            border-radius: 10px;
            font-size: 12px;
            margin-left: 10px;
        }
        .status-paid {
            background-color: #c8e6c9;
            color: #2e7d32;
        }
        .status-unpaid {
            background-color: #ffcdd2;
            color: #c62828;
        }
    </style>
</head>
<body>
    <div class="container">
        <header>
            <h1>学生缴费平台</h1>
            <p>安全、便捷的学费缴纳服务</p>
        </header>
        
        <div class="payment-box">
            <h2>学生信息</h2>
            <div class="student-info">
                <div class="info-row">
                    <div class="info-label">姓名：</div>
                    <div class="info-value">贾亚哲</div>
                </div>
                <div class="info-row">
                    <div class="info-label">学号：</div>
                    <div class="info-value">22302280114</div>
                </div>
                <div class="info-row">
                    <div class="info-label">专业：</div>
                    <div class="info-value">软件工程</div>
                </div>
                <div class="info-row">
                    <div class="info-label">班级：</div>
                    <div class="info-value">软件工程一班</div>
                </div>
            </div>
        </div>
        
        <div class="payment-box">
            <h2>缴费项目</h2>
            
            <div class="fee-item">
                <div class="fee-name">
                    学费
                    <span class="status status-unpaid">未缴</span>
                </div>
                <div class="fee-amount">¥ 10,000.00</div>
            </div>

            <div class="fee-item">
                <div class="fee-name">
                    住宿费
                    <span class="status status-unpaid">未缴</span>
                </div>
                <div class="fee-amount">¥ 1,800.00</div>
            </div>
            
            <div class="fee-item">
                <div class="fee-name">
                    教材费
                    <span class="status status-unpaid">未缴</span>
                </div>
                <div class="fee-amount">¥ 2000.00</div>
            </div>
            
            <div class="total-section">
                <div>应缴总额：<span class="total-amount">¥ 1,3800.00</span></div>
                <div style="font-size: 14px; color: #666; margin-top: 5px;">(只需缴纳学费，住宿费和教材费)</div>
            </div>
        </div>
        
        <div class="payment-box">
            <h2>选择支付方式</h2>
            <div class="payment-methods">
                <label class="method-option">
                    <input type="radio" name="paymentMethod" value="alipay" checked>
                    <span class="method-icon">🅰️</span>
                    <div>
                        <div style="font-weight: bold;">支付宝</div>
                        <div style="font-size: 14px; color: #666;">推荐支付宝用户使用</div>
                    </div>
                </label>
                
                <label class="method-option">
                    <input type="radio" name="paymentMethod" value="wechat">
                    <span class="method-icon">💚</span>
                    <div>
                        <div style="font-weight: bold;">微信支付</div>
                        <div style="font-size: 14px; color: #666;">推荐微信用户使用</div>
                    </div>
                </label>
                
                <label class="method-option">
                    <input type="radio" name="paymentMethod" value="bank">
                    <span class="method-icon">🏦</span>
                    <div>
                        <div style="font-weight: bold;">网上银行</div>
                        <div style="font-size: 14px; color: #666;">支持各大银行</div>
                    </div>
                </label>
            </div>
            
            <button class="pay-button" onclick="confirmPayment()">确认支付 ¥2,000.00</button>
        </div>
    </div>
    
    <script>
        function confirmPayment() {
            const method = document.querySelector('input[name="paymentMethod"]:checked').value;
            alert(`支付成功！您已使用${getPaymentMethodName(method)}完成缴费。`);
            
            // 这里可以添加实际的支付处理逻辑
            // 通常是通过AJAX发送到服务器处理
        }
        
        function getPaymentMethodName(method) {
            switch(method) {
                case 'alipay': return '支付宝';
                case 'wechat': return '微信支付';
                case 'bank': return '网上银行';
                default: return '支付方式';
            }
        }
    </script>
</body>
</html>